# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=plasma-settings
pkgver=23.01.0
pkgrel=1
pkgdesc='Settings application for Plasma Mobile'
url='https://plasma-mobile.org/'
arch=(x86_64)
license=(GPL)
depends=(kirigami-addons networkmanager-qt modemmanager-qt plasma-framework)
makedepends=(extra-cmake-modules)
source=(https://download.kde.org/stable/plasma-mobile/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
sha256sums=('e786dd522969fea5be9f4e91ecfb8ccffc28127ba0de74f634aa9600bdfce03b'
            'SKIP')
validpgpkeys=(39FFA93CAE9C6AFC212AD00202325448204E452A  # Carl Schwan <carl@carlschwan.eu>
              0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D) # Bhushan Shah (mykolab address) <bshah@mykolab.com>

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
